package com.ruihui.activity.exceprion;
/**
 * 自定义异常类
 * @author cf
 *
 */
public class ManualException extends RuntimeException{
	 //错误代码
    private Integer code;
	public ManualException(Integer code,String message){
		super(message);
		this.setCode(code);
	}
	public Integer getCode() {
		return code;
	}
	public void setCode(Integer code) {
		this.code = code;
	}
	
}
